const m = require("../routes.js") // 接口路由名称

module.exports = {

  [m.EntryCreationSearch]({
    BillNo, // ""
    BillType, // 1
  }) {
    return {
      BillNo,
      DeptCode: "123",
      DeptName: "123name",
    }
  },

  [m.EntryCreationSave]({
    BillNoList, // ["", ""]
    BillType, // 1
    AuditDept, // ""
    Operator, // "",
    Reason, // "",
    OutTime, // "",
  }) {
    return {}
  },

  [m.EntryCreationReasonList]({
    //
  }) {
    return [
      {
        ItemText: "abc(配件公司)",
        ItemValue: "abc",
      },
    ]
  },

  [m.EntryScanSearch]({
    PermitNo, // ""
  }) {
    return {
      OutPermitHeadInfo: {
        PermitNo: "123",
        OrderType: 1,
        OutTime: "2018-01-01",
        Corporation: "abc",
        OutReason: "abc",
      },
      OutPermitDetailList: [
        {
          PartNo: "abc",
          PartName: "abc",
          Unit: "abc",
          Num: 100,
        },
      ],
      PermitType: "1",
    }
  },

  [m.EntryScanPass]({
    PermitNo, // ""
  }) {
    return {}
  },

  [m.EntryScanNoPass]({
    PermitNo, // ""
  }) {
    return {}
  },

  [m.CoordinationSearch]({
    ReserveNo, // ""
  }) {
    return {
      DockReserveInfo: {
        ReserveNo: "123",
        EWmNo: "仓库一",
        AllEWmNo: "仓库二",
        ReservetimeDate: "2018-01-01",
        LeaveTime: "2018-01-01",
        SupplierNum: "供应商一",
        DriverName: "张三",
        DriverPhone: "12312341234",
        NumberPlateNo: "aoeui",
        DoneEWmNo: "仓库二",
      },
    }
  },

  [m.CoordinationLineUp]({
    ReserveNo, // ""
  }) {
    return {}
  },

  [m.CoordinationDone]({
    ReserveNo, // ""
  }) {
    return {}
  },

  [m.CoordinationDock]({
    ReserveNo, // ""
  }) {
    return {}
  },

  [m.CoordinationLeave]({
    ReserveNo, // ""
  }) {
    return {}
  },
}
